package com.xrs.xrseducation.ordercourse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Ordercourse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单课程表主键
     */
    @TableId(value = "ocid", type = IdType.AUTO)
    private Integer ocid;

    /**
     * 订单编号
     */
    private String serid;

    /**
     * 课程id
     */
    private Integer couid;

    public Integer getOcid() {
        return ocid;
    }

    public void setOcid(Integer ocid) {
        this.ocid = ocid;
    }

    public String getSerid() {
        return serid;
    }

    public void setSerid(String serid) {
        this.serid = serid;
    }

    public Integer getCouid() {
        return couid;
    }

    public void setCouid(Integer couid) {
        this.couid = couid;
    }

    @Override
    public String toString() {
        return "Ordercourse{" +
                "ocid=" + ocid +
                ", serid='" + serid + '\'' +
                ", couid=" + couid +
                '}';
    }
}
